Legend.addItemTextSvg Method

Adds a legend item to the legend.
 

Parameters

ownerId

Type: Object
The ID of the owner of this legend item.
id

Type: Object
The ID of this legend item.
itemText

Type: String
The text of the legend item.
itemMarker

Type: LegendItem
The SVG that this legend item will use for it's marker.